/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package models;

/*import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;*/

/**
 *
 * @author User
 */
public class CommentDTO {
 private int idComment;
 private String description;
 private String date;
 private int idUser;

    public CommentDTO() {}
    public CommentDTO(int idComment,String description,String date,int idUser)
    {
    	this.idComment=idComment;
    	this.idUser=idUser;
    	this.description=description;
    	this.date=date;
    }
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getIdComment() {
        return idComment;
    }

    public void setIdComment(int idComment) {
        this.idComment = idComment;
    }

    public int getIdUser() {
        return idUser;
    }

    public void setIdUser(int idUser) {
        this.idUser = idUser;
    }

    /*private DataSource getQID() throws NamingException {
        Context c = new InitialContext();
        return (DataSource) c.lookup("java:comp/env/QID");
    }*/

}
